#include <stdio.h>

#include "stack.h"

void TestOrderSTack()
{
    OrderStack data;
    OrderStack_create_stack(&data);
    
    OrderStack_push(&data, 10);
    OrderStack_push(&data, 20);
    OrderStack_push(&data, 30);
    OrderStack_pop(&data);
    OrderStack_pop(&data);
    OrderStack_pop(&data);

    printf("data: %d\n", OrderStack_top(&data));
}


//TODO: 1.bracket match

//TODO: 2. expression compute

int main()
{
    TestOrderSTack();
    return 0;
}